package org.micro.neural;

import org.micro.neural.config.NeuralConfig;
import org.micro.neural.config.OriginalCall;

/**
 * Neural
 *
 * @author lry
 */
public interface Neural {

    /**
     * The process of wrapper original call
     *
     * @param identity     {@link NeuralConfig}
     * @param originalCall {@link OriginalCall}
     * @return invoke return object
     * @throws Throwable throw exception
     */
    Object doWrapperCall(String identity, OriginalCall originalCall) throws Throwable;

}
